//
//  ShowMessageTool.h
//  mallbuilderIOS
//
//  Created by yuanfeng on 15/11/19.
//  Copyright © 2015年 yuanfeng01. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface ShowMessageTool : NSObject<JGProgressHUDDelegate>
//失败错误调用
+(void)showMessage:(UIView*)view andStr:(NSString *)str;
//成功调用

+(void)showSucess:(UIView *)view andStr:(NSString *)content;
/**
 *  请求加载指示器
 *
 *  @param NavView 放到一个nav.view上
 *  @param time    请求开始到结束的时间
 */
-(void)showSimpleHUD:(UIView *)NavView time:(CGFloat)time;
/**
 *  取消加载指示器
 */
-(void)dismiss;


///MB指示器，只显示文字
+(void)MBShowText:(NSString *)text andShowView:(UIView *)view andDelay:(CGFloat)delay;
@end
